﻿using System;
using System.Collections.Generic;
using System.Text;

namespace TXK.CommonBase
{
	/// <summary>
	/// 数据类型
	/// </summary>
	public enum DataType
	{
		/// <summary>
		/// 布尔
		/// </summary>
		Bool = 0,
		/// <summary>
		/// 字节
		/// </summary>
		Byte = 1,
		/// <summary>
		/// 有符号16位整型
		/// </summary>
		Short = 2,
		/// <summary>
		/// 无符号16位整型
		/// </summary>
		UShort = 3,
		/// <summary>
		/// 有符号32位整型
		/// </summary>
		Int = 4,
		/// <summary>
		/// 无符号32位整型
		/// </summary>
		UInt = 5,
		/// <summary>
		/// 32位浮点型
		/// </summary>
		Float = 6,
		/// <summary>
		/// 64位浮点型
		/// </summary>
		Double = 7,
		/// <summary>
		/// 有符号64位整型
		/// </summary>
		Long = 8,
		/// <summary>
		/// 无符号64位整型
		/// </summary>
		ULong = 9,
		/// <summary>
		/// 字符串
		/// </summary>
		String = 10,
		/// <summary>
		/// 字节数组
		/// </summary>
		ByteArray = 11,
		/// <summary>
		/// 16进制字符串
		/// </summary>
		HexString = 12
	}
}
